package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 基础字段配置表单对象
 */
@Schema(description = "基础字段配置表单对象")
@Data
public class BaseColumnForm {

    @Schema(description = "基础字段配置ID")
    private String id;

    @Schema(description = "所属平台KEY")
    @NotBlank(message = "所属平台不能为空")
    private String platformKey;

    @Schema(description = "原始字段")
    @NotBlank(message = "原始字段不能为空")
    private String sourceColumn;

    @Schema(description = "标准字段")
    @NotBlank(message = "标准字段不能为空")
    private String standardColumn;

    @Schema(description = "符合条件")
    private List<ColumnMatchConditionForm> conditionFormList = new ArrayList<>();
}
